﻿using Microsoft.EntityFrameworkCore.Metadata.Internal;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Linq;

namespace MYData.Entity.DTO.ApiEntity.Input
{
    /// <summary>
    /// 科目报销模板输入Dto
    /// </summary>
    public class BudegtTemplateInput_Dto
    {
        /// <summary>
        ///预算科目外键
        /// </summary>
        [Display(Name = "预算科目外键")]
        [MaxLength(64)]
        [Column(TypeName = "nvarchar(64)")]
        [Editable(true)]
        [Required(AllowEmptyStrings = false)]
        public string BudgeId { get; set; }

        /// <summary>
        ///列名
        /// </summary>
        [Display(Name = "列名")]
        [MaxLength(255)]
        [Column(TypeName = "nvarchar(255)")]
        [Editable(true)]
        [Required(AllowEmptyStrings = false)]
        public string columnName { get; set; }

        /// <summary>
        ///是否可编辑
        /// </summary>
        [Display(Name = "是否可编辑")]
        [Column(TypeName = "bool")]
        [Editable(true)]
        [Required(AllowEmptyStrings = false)]
        public bool IsEdit { get; set; }
    }
}
